/**
 * 
 */
package cn.pb.domin;

import java.io.Serializable;

/**
 * @ClassName Blog类
 * @Author whw
 * @Date 2017年9月6日 下午3:13:05
 * @Version 1.0
 * @Description 
 */
/*
 * `bid` int(11) NOT NULL auto_increment,
  `uid` int(11) NOT NULL,
  `tid` int(11) NOT NULL,
  `btittle` varchar(50) NOT NULL,
  `bcontent` text NOT NULL,
  `btime` datetime NOT NULL,
  `breadcount` int(11) NOT NULL,
 */
public class Blog implements Serializable{
    private Integer bid;
    private Integer uid;
    private Integer tid;
    private String btittle;
    private String bcontent;
    private Long btime;
    private String breadcount;
    private String bphoto;
    
    public String getBphoto() {
        return bphoto;
    }
    public void setBphoto(String bphoto) {
        this.bphoto = bphoto;
    }
    public Integer getBid() {
        return bid;
    }
    public Integer getUid() {
        return uid;
    }
    public Integer getTid() {
        return tid;
    }
    public String getBtittle() {
        return btittle;
    }
    public String getBcontent() {
        return bcontent;
    }
    public Long getBtime() {
        return btime;
    }
    public String getBreadcount() {
        return breadcount;
    }
    public void setUid(Integer uid) {
        this.uid = uid;
    }
    public void setTid(Integer tid) {
        this.tid = tid;
    }
    public void setBtittle(String btittle) {
        this.btittle = btittle;
    }
    public void setBcontent(String bcontent) {
        this.bcontent = bcontent;
    }
    public void setBtime(Long btime) {
        this.btime = btime;
    }
    public void setBreadcount(String breadcount) {
        this.breadcount = breadcount;
    }
    
    @Override
    public String toString() {
        return "Blog [bid=" + bid + ", uid=" + uid + ", tid=" + tid + ", btittle=" + btittle + ", bcontent=" + bcontent
                + ", btime=" + btime + ", breadcount=" + breadcount + ", bphoto=" + bphoto + "]";
    }
    
}
